package ip.exceptions;

import ip.dto.CategoryDTO;

public class NoSuchCategoryException extends ApplicationException{

	private static final long serialVersionUID = 4042951389241493299L;

	public NoSuchCategoryException(CategoryDTO categoryDTO) {
	    super("The category with id: '" + categoryDTO.getCategoryId() + "' and name: '" + categoryDTO.getName() + "' does not exist.");
	}	
}
